package com.team.arms.public_data.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team.arms.public_data.domain.ListSurveyItems;
import com.team.arms.public_data.domain.SurveyOptionInformation;
import com.team.arms.public_data.domain.VisitSurveyConfiguration;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
public interface VisitSurveyConfigurationService extends IService<VisitSurveyConfiguration> {

    VisitSurveyConfiguration selectAllByVisitsSurveysId(@Param("visitsSurveysId") String visitsSurveysId);

    int insertAll(VisitSurveyConfiguration visitSurveyConfiguration);

    boolean configuration(ListSurveyItems[] listSurveyItems, SurveyOptionInformation[] surveyOptionInformation);

    List<VisitSurveyConfiguration> selectByFiled(String field, String content);
}
